/** *******************************************************************
 * Amfphp Redux
 * @author  Jonnie Spratley
 * @see jonniespratley@gmail.com
 * @internal
 ******************************************************************* */
package com.jonniespratley.amfphpredux.vo
{	
	import com.adobe.cairngorm.vo.IValueObject;
	/**
	 * VOs are used to create a layer of business objects that can be 
	 * transferred between tiers, instead of using records, results sets, and datasets.
	 */
	[Bindable]
	public class ServiceVO implements IValueObject
	{
		public var label:String;
		public var data:String;
		public var icon:String;
		public var children:Array;
		
		public function  ServiceVO( label:String = '', data:String = '', icon:String = '' )
		{			
			if ( data != null )
			{				
				this.label = label;
				this.data = data;
				this.icon = icon;
				this.children = children;
			}
		}
	}
}